package com.lanou3g.k12.mapper;

import com.lanou3g.k12.entity.Event;
import com.lanou3g.k12.entity.EventContent;

import java.util.List;

public interface EventMapper {
    void addEvent(Event event);


    List<Event> findAllEvent();

    Event findById(Long id);

    void deleteEventById(Long id);

    void deleteEventsByIds(Long[] ids);

    List<Event> findAllEventByKeyword(String keyword);

    void updateStatus(Long id);

    void updateEventStatus(Long cid);

    void deleteEventByCid(Long cid);

    List<Event> findEventByCid(Long cid);

    Event findEventContentById(Long id);
}
